local other__dansha = fk.CreateSkill{
  name = "other__dansha",
}
Fk:loadTranslationTable{
["other__dansha"]="单杀",
[":other__dansha"]="出牌阶段限一次，你可以对场上一名玩家造成随机点伤害",
["#other__dansha"] = "你可以对场上一名玩家造成随机点伤害"
}

other__dansha:addEffect("active", {
  card_num = 0,
  target_num = 1,
  prompt = "#other__dansha",
  can_use = function(self, player)
    return player:usedSkillTimes(other__dansha.name, Player.HistoryPhase) == 0
  end,
  card_filter = Util.FalseFunc,
  target_filter = function(self, player,to_select, selected, selected_cards)
    return #selected == 0 and to_select ~= player
  end,
  on_use = function(self, room, effect)
    local player = (effect.from)
    local target = (effect.tos[1])
    room:damage{
      from = player,
      to = target,
      damage = math.random(1, math.min(2, target.hp)),
      skillName = other__dansha.name,
    }
  end,
})


return other__dansha